//Naming
Name Peugeot RCZ R
ShortName PokerRetroRCZR
//Visuals
Icon Peugeot_Retro_Logo
Model Poker.Poker_Retro_RCZ_R
Texture RCZ_R_Black
RotateWheels False
//Third Person Camera Distance
CameraDistance 5.0
//Throttle
MaxThrottle 0.770
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 0.9
TurnRightSpeed 0.9
//Drag
Drag 1.0
//Mass (In tons)
Mass 1.200
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 100.0
//More bounciness means the vehicle will bounce more upon going up slopes, but fall through the ground less
Bounciness 0.3
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 1000
//Inventory Slots
CargoSlots 6
ShellSlots 0
//Driver and passenger positions
Driver -4 -10 -8 -80 80 -45 45
RotatedDriverOffset 0 0 0
Passengers 1
Passenger 1 -4 -10 8 core -80 80 -45 45

//Delays are in ticks or 1/20ths of seconds
ShootDelay 999
ShellDelay 999
//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShootSound bullet
ShellSound shell
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 PokerChassisNormalMedium 1 PokerBodyNormalTrunk 1 PokerBodyNormalMiddleClose 1 PokerBodyNormalFront 1 PokerDrivetrainFWD 2 PokerSeatWool 1 PokerInteriorRadio 4 Poker_Normal_Suspension
AddRecipeParts frontLeftWheel 1 Poker_Normal_Wheel
AddRecipeParts frontRightWheel 1 Poker_Normal_Wheel
AddRecipeParts backLeftWheel 1 Poker_Normal_Wheel
AddRecipeParts backRightWheel 1 Poker_Normal_Wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 8 white
//Health and collision
SetupPart backRightWheel 100 -35 -10 13 14 14 4
SetupPart core 100 -41 -8 -16 74 22 32
SetupPart frontRightWheel 100 21 -10 13 14 14 4
SetupPart backLeftWheel 100 -35 -10 -17 14 14 4
SetupPart frontLeftWheel 100 21 -10 -17 14 14 4
BulletDetection 5
HasDoors True
WheelPosition 0 -28 -8 -16
WheelPosition 1 -28 -8 16
WheelPosition 2 28 -8 16
WheelPosition 3 28 -8 -16

//Paintjob Settings
//Format is "Paintjob iconName textureName requiredDyeAmount requiredDyeColour" Multiple colours may be listed in order, seperated by a space
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"

//Stock

Paintjob Peugeot_Retro_Logo RCZ_R_Red red 8
Paintjob Peugeot_Retro_Logo RCZ_R_White white 8